//
//  TTDiamondInfoCellModel.m
//  TaoTuo
//
//  Created by apple on 2020/12/11.
//  Copyright © 2020 刘广. All rights reserved.
//

#import "TTDiamondInfoCellModel.h"

@implementation TTDiamondInfoCellModel

+ (instancetype)setModelWithTitle:(NSString *)title hintString:(NSString *)hintString rightString:(NSString *)rightString
{
    return [self setModelWithTitle:title hintString:hintString rightString:rightString target:nil selector:nil];
}

+ (instancetype)setModelWithTitle:(NSString *)title hintString:(NSString *)hintString rightString:(NSString *)rightString target:(id)target selector:(SEL)selector
{
    TTDiamondInfoCellModel *model = [[self alloc] init];
    model.title = title;
    model.hintString = hintString;
    model.rightString = rightString;
    model.target = target;
    model.selector = selector;
    return model;
}

- (void)setCornerRadius:(CGFloat)cornerRadius cornerType:(CornerType)cornerType
{
    self.cornerRadius = cornerRadius;
    self.cornerType = cornerType;
}

@end
